<include file="header" />
<body>
<div class="wraper">
    <div class="header">
        <a href="/base/StoredValue/personalCenter/stored_value_id/{BEESCRM:$stored_value_id}" class="iconfont icon-zuo back"></a>
        <div class="title text-center font-16">消费记录</div>
    </div>
    <empty name="data">
        <div class="imga">
            <img src="/assets/base/onecard/images/no-record.png" alt="">
        </div>
        <p class="text-center gray2">暂无消费记录</p>
    <else />
        <div class="classify content margin-t12">
            <volist name="data" id="vo">
                <div class="content-list">
                    <div class="flex-between">
                        <span class="gray2">
                            <if condition="$vo['status'] == 2">
                                {BEESCRM:$vo['refund_time']|date="Y-m-d H:i:s",###}
                            <else />
                                {BEESCRM:$vo['create_time']|date="Y-m-d H:i:s",###}
                            </if>
                        </span>
                        <span>
                            <if condition="$vo['status'] == 2">
                                <span class="red">已退款</span>
                            <else />
                                <span class="green">交易成功</span>
                            </if>
                        </span>
                    </div>
                    <div class="flex-between">
                        <span class="gray2">
                            {BEESCRM:$vo['order_sn']}
                        </span>
                        <span>
                            {BEESCRM:$vo['terminal_name']}
                        </span>
                    </div>
                    <div class="flex-between">
                        <span class="gray2">
                            {BEESCRM:$vo['user_name']}
                        </span>
                        <span>
                            -{BEESCRM:$vo['amount']}元
                        </span>
                    </div>
                </div>
            </volist>
        </div>
    </empty>
</div>
</body>
<include file="commonJs" />
<script>
    var height=$(window).height();
    $('.wraper').css('minHeight',height);
</script>
</html>